<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>

</body>
</html>
<script>
  /*季宝晴*/
  function mao(arr) {
    for (let i = 0; i < arr.length; i++) {
      for (let j = 0; j < arr.length - i + 1; j++) {
        if (arr[j] < arr[j + 1]) {
          let sum = arr[j];
          arr[j] = arr[j + 1];
          arr[j + 1] = sum;
          // [arr[j], arr[j + 1]] = [arr[j + 1], arr[j]];
        }
      }
    }
    return arr
  }
</script>
